home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1m / ha_exec2.z / ha_exec2
Encoding:
Text File  |  2002-10-03  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. hhhhaaaa____eeeexxxxeeeecccc2222((((1111MMMM))))                                                      hhhhaaaa____eeeexxxxeeeecccc2222((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ha_exec2 - execute a command in an IRIS FailSafe high-availability node
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      hhhhaaaa____eeeexxxxeeeecccc2222 [ ----pppp waitperiod ] timeout retry_count command
  13.      hhhhaaaa____eeeexxxxeeeecccc2222 ----ssss signal_number ----tttt string
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      _h_a__e_x_e_c_2 executes the _c_o_m_m_a_n_d and waits for its completion.  If the
  17.      command does not complete within _t_i_m_e_o_u_t seconds, the command is killed
  18.      and retried.  The command is retried _r_e_t_r_y-_c_o_u_n_t times.
  19.  
  20.      _h_a__e_x_e_c_2 waits for _w_a_i_t_p_e_r_i_o_d seconds after a failure or a command
  21.      timeout before retrying the command.  If the ----pppp option is not specified,
  22.      _w_a_i_t_p_e_r_i_o_d is assumed to be 0 seconds and the command is retried
  23.      immediately after a failure.
  24.  
  25.      _h_a__e_x_e_c_2 is also used to send signals to a set of processes.  The ----ssss
  26.      option specifies the signal to be sent to the set of processes.  The
  27.      signal is sent to all processes whose command name or its arguments
  28.      contain the _s_t_r_i_n_g specified by the ----tttt option.
  29.  
  30.      _h_a__e_x_e_c_2 is used by the high-availability software.  It is normally
  31.      invoked from the local application monitor scripts.
  32.  
  33. NNNNOOOOTTTTEEEE
  34.      This command is for use only by FailSafe plugin scripts.
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.